import request from '@/untils/request'

export const getlist=(params)=>{
  return request({
    url:`/supplier/getList`,
    method:"get",
    params
  })
}

export const deletelist=(params)=>{
  return request({
    url:`supplier`,
    method:"delete",
    params
  })
}

export const updatelist=(params)=>{
  return request({
    url:`supplier`,
    method:"put",
    data:params
  })
}

export const addlist=(params)=>{
  return request({
    url:`supplier`,
    method:"post",
    params
  })
}